package br.unicamp.ft.sahp.model.dao.impl;

import javax.persistence.EntityManagerFactory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import br.unicamp.ft.sahp.model.dao.AbstractDAO;
import br.unicamp.ft.sahp.model.dao.RespostaDAO;
import br.unicamp.ft.sahp.model.entidades.Resposta;

@Repository
public class RespostaDAOImpl extends AbstractDAO<Resposta, Long> implements
		RespostaDAO {

	@Autowired
	public RespostaDAOImpl(
			@Qualifier("entityManagerFactory") EntityManagerFactory factory) {
		super(factory, Resposta.class);
	}
}